﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EstepLibrary;
using System.Data;
using System.Data.OleDb;

public partial class includes_searchBar : System.Web.UI.UserControl
{
    EstepLibrary.Veriler Kayitseti = new EstepLibrary.Veriler();
    EstepLibrary.Tool RSTool = new EstepLibrary.Tool();
    EstepLibrary.GENELAYAR RSAyar = new EstepLibrary.GENELAYAR();

    protected void Page_Load(object sender, EventArgs e)
    {
        fillRepeater();
    }

    private void fillRepeater()
    {
        string sorgu = RSTool.GetAnaHaberIDIcerik(RSAyar.ANAHABERID1, "null");
        rptAnnouncement.DataSource = Kayitseti.GetDataSet(sorgu);
        rptAnnouncement.DataBind();
    }
}